function VlogMonkeyOptions() {
};

VlogMonkeyOptions.toggleDownloadLinkWrappers = function() {
	if($("div#vmonk_options select#vmonk_adddownloadstofeed").val() == "No") {
		$("div#vmonk_downloadlinkwrappers input").attr("disabled","disabled");
	} else {
		$("div#vmonk_downloadlinkwrappers input").removeAttr("disabled");
	}
};

VlogMonkeyOptions.addEvents = function() {
	$("div#vmonk_options select#vmonk_adddownloadstofeed").change(VlogMonkeyOptions.toggleDownloadLinkWrappers);
	VlogMonkeyOptions.toggleDownloadLinkWrappers();
};

$(document).ready(VlogMonkeyOptions.addEvents);